#include "SbotIde.hpp"

int main(int argc, char* argv[])
{
    qmlRegisterSingletonType< SbotIde >("SbotIde", 1, 0, "SbotIde", [](QQmlEngine*, QJSEngine*) -> QObject* { return &SbotIde::getInstance(); });
    qmlRegisterSingletonType(QUrl("qrc:/Qml/Theme.qml"), "Theme", 1, 0, "Theme");

    SBOTIDE.run(argc, argv);  // Run the Sbot IDE singleton.

    return 0;
}
